package org.wzq.spring_aop;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by wzq on 14-11-18.
 */
public class Main {
    public static void main(String[] args) {
        ApplicationContext ctx = new ClassPathXmlApplicationContext("aop-config.xml");
        IStudentDao studentDao = (IStudentDao) ctx.getBean("studengAdvisor");
        studentDao.save("123","kiki");
    }
}
